package com.chen.gulimall.gulimallproduct.feign;

import com.chen.gulimall.gulimallproduct.to.BoundTo;
import com.chen.gulimallcommon.common.to.FullReduceTo;
import com.chen.gulimallcommon.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("gulimall-coupon")
public interface CouponFeign {

    @PostMapping("/coupon/spubounds/save")
    public R saveBounds(@RequestBody BoundTo boundVo);


    @PostMapping("/coupon/skufullreduction/saveFullReduce")
    public R saveFullReduce(@RequestBody FullReduceTo fullReduceTo);
}
